package com.by.service;

import com.by.annotion.MyAutowired;
import com.by.annotion.MyComponent;

/**
 * @version 1.0
 * @Author 彭彦彬
 * @Date 2025/4/9 9:59
 * @注释
 */
@MyComponent
public class UserService {
    @MyAutowired
    private OrderService orderService;
    @MyAutowired
    private PYB pyb;

    public void getUserInfo() {
        System.out.println("Fetching user info...");
        pyb.show();
        orderService.getOrderDetails();
    }
}